package com.ttbj.api.slideshow;

import java.util.List;

import com.ttbj.api.dto.Page;
import com.ttbj.api.dto.slideshow.SlideShowDto;
import com.ttbj.api.exception.BusinessException;

public interface SlideshowService {
	/**
	 * 查询所有幻灯片的信息 
	 * @return
	 * @throws BusinessException
	 */
	public List<SlideShowDto> findAllSlideShowInfoPage(Page page) throws BusinessException;
	
	/**
	 * 查询所有幻灯片的信息数量
	 * @return
	 * @throws BusinessException
	 */
	public Integer findAllSlideShowInfoPageCount() throws BusinessException;
	
	/**
	 * 查询 所有的幻灯片信息
	 * @return
	 * @throws BusinessException
	 */
	public List<SlideShowDto> findAAllSlideShowOrder() throws BusinessException;
	
	/**
	 * 通过id查询某一个幻灯片的信息 
	 * @param slideId
	 * @return SlideShowDto
	 * @throws BusinessException
	 */
	public SlideShowDto findSlideShowInfoById(Integer slideId) throws BusinessException;
	
	/**
	 * 增加幻灯片信息
	 * @param showDto
	 * @throws BusinessException
	 */
	public void addSlideShowInfo(SlideShowDto showDto) throws BusinessException;
	
	/**
	 * 修改幻灯片的信息
	 * @param showDto
	 * @throws BusinessException
	 */
	public void editSlideShowInfoById(SlideShowDto showDto) throws BusinessException;
	
	/**
	 * 删除幻灯片的信息
	 * @param showDto
	 * @throws BusinessException
	 */
	public void delSlideShowInfoById(SlideShowDto showDto) throws BusinessException;
}
